xen/arm: Remove __init from prototype
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:12:55 +0000 (18:12 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:14 +0000 (10:14 -0800)
commit6ff351daafe8ae5ad8662766e87d11f54850bee3
tree1dd510caca927c5214e0172dd0e9db0aa003462b
parentce4cd9ab7cef8c7ed01a719e8aadb9d091b2fd4b
xen/arm: Remove __init from prototype

In Xen, it is common to add __init to the declaration and not the
prototype. Remove the few __init on some prototypes which allows to
avoid the inclusion of init.h in headers.

With these changes, init.h is now required to be included on some c
files. Also, add __init where it was missing in declaration.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
12 files changed:
xen/arch/arm/acpi/lib.c
xen/arch/arm/bootfdt.c
xen/arch/arm/cpuerrata.c
xen/arch/arm/device.c
xen/arch/arm/psci.c
xen/include/asm-arm/acpi.h
xen/include/asm-arm/alternative.h
xen/include/asm-arm/device.h
xen/include/asm-arm/iommu.h
xen/include/asm-arm/platform.h
xen/include/asm-arm/setup.h
xen/include/xen/device_tree.h